package com.bw1806.entity;

import java.io.Serializable;
import java.util.List;

/**
 * @描述
 * @创建人 wangyue
 * @创建时间2020/11/1310:33
 */

public class ResultPage<T> implements Serializable{

    private Long total;

    private List<T> records;

    public ResultPage(Long total, List<T> records) {
        this.total = total;
        this.records = records;
    }

    public Long getTotal() {
        return total;
    }

    public void setTotal(Long total) {
        this.total = total;
    }

    public List<T> getRecords() {
        return records;
    }

    public void setRecords(List<T> records) {
        this.records = records;
    }
}
